<%@ page pageEncoding="UTF-8"%>
<%@ include file="/common/validate.jsp"%>
<%
	// 医院介绍
	List list = QBuilder.db("basedb").queryHql("from hospital_intro where hospital =" + hospital );
	if (isEmpty(list)) 
		msg = new Message(30041, "没有医院信息");
	else{
		//处理字符串json转换错误
		Map map = (Map)list.get(0);
		map.put("traffic_line",(List)JSON.parse(map.get("traffic_line").toString().replaceAll("\r","").replaceAll("\n","")));
		map.put("imgs",(List)JSON.parse(map.get("imgs").toString().replaceAll("\r","").replaceAll("\n","")));
		map.put("json",(Map)JSON.parse(map.get("json").toString().replaceAll("\r","").replaceAll("\n","")));
		msg.put("data", list.get(0));
	}


	Tools.encryptPrint(out, msg);
%>
